﻿<%@ Page Title="" Language="C#" MasterPageFile="~/Views/Shared/System.Master" ValidateRequest="false" Inherits="System.Web.Mvc.ViewPage<Carmall.Entity.NewsInfo>" %>

<asp:Content ID="Content1" ContentPlaceHolderID="TitleContent" runat="server">
	添加促销信息
</asp:Content>

<asp:Content ID="Content2" ContentPlaceHolderID="MainContent" runat="server">

    <div class="c_d_b">
    <%: Html.ValidationSummary() %>
    <% using (Html.BeginForm("CreateNews", "System", FormMethod.Post, new { enctype = "multipart/form-data", id = "news" })) %>
    <%{ %>
    <strong>促销信息</strong>
    <div class="c_m_e c_p_a  c">
        <dl>
            <dt>促销标题</dt>
            <dd>
                <div class="c_m_d">
                    <%: Html.TextBoxFor(Model => Model.Title, new { @class="c_i_a"}) %>
                </div>
            </dd>
        </dl>
        <dl>
            <dt>促销内容:</dt>
            <dd>
                <div class="c_m_d">
                    <%: Html.TextAreaFor(Model => Model.Content, new { @class = "ckeditor",rows="10", cols="80" })%>
                </div>
            </dd>
        </dl>
        <dl>
            <dt></dt>
            <dd>
                <div class="c_m_e">
                    <input type="submit" value="发 布" class="btn_a_5" style="border: 0;" />
                </div>
            </dd>
        </dl>
    </div>
    <%} %>
    </div>

</asp:Content>
